Skip to content

Conversation

@arturcic
Copy link
Member

@arturcic arturcic commented Dec 9, 2024

This pull request includes several changes to the GitVersion project, primarily focusing on the integration and usage of the IFileSystem interface across various classes and tests, as well as some refactoring and cleanup of test files.

Integration of IFileSystem:

Test updates and refactoring:

Removal of TestFileSystem:

Other changes:

Replaced direct file and directory operations with IFileSystem methods. This change standardizes file system interactions and simplifies dependency injection across the codebase.
Simplified the MakeAndGetTempPath method by converting it to an expression-bodied member.
@arturcic arturcic requested a review from Copilot December 9, 2024 12:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 12 out of 27 changed files in this pull request and generated no suggestions.

Files not reviewed (15)
  • src/GitVersion.App.Tests/GitVersion.App.Tests.csproj: Language not supported
  • src/GitVersion.Core/PublicAPI.Unshipped.txt: Language not supported
  • src/GitVersion.MsBuild.Tests/GitVersion.MsBuild.Tests.csproj: Language not supported
  • src/GitVersion.Core.Tests/Helpers/TestFileSystem.cs: Evaluated as low risk
  • src/GitVersion.Core.Tests/Helpers/TestStream.cs: Evaluated as low risk
  • src/GitVersion.Configuration/ConfigurationProvider.cs: Evaluated as low risk
  • src/GitVersion.Core/Core/GitPreparer.cs: Evaluated as low risk
  • src/GitVersion.App/GitVersionExecutor.cs: Evaluated as low risk
  • src/GitVersion.App/ArgumentParser.cs: Evaluated as low risk
  • src/GitVersion.Core/Extensions/ConfigurationExtensions.cs: Evaluated as low risk
  • src/GitVersion.App.Tests/ArgumentParserTests.cs: Evaluated as low risk
  • src/GitVersion.Core.Tests/Core/GitVersionExecutorTests.cs: Evaluated as low risk
  • src/GitVersion.Core.Tests/Helpers/GitVersionCoreTestModule.cs: Evaluated as low risk
  • src/GitVersion.Core/Core/Abstractions/IFileSystem.cs: Evaluated as low risk
  • src/GitVersion.Core.Tests/Core/DynamicRepositoryTests.cs: Evaluated as low risk

@arturcic arturcic added this to the 6.1.x milestone Dec 9, 2024
@arturcic arturcic merged commit 1aefeed into GitTools:main Dec 9, 2024
93 checks passed
@arturcic arturcic deleted the feature/filesystem branch December 9, 2024 12:57
@mergify
Copy link
Contributor

mergify bot commented Dec 9, 2024

Thank you @arturcic for your contribution!

@arturcic arturcic modified the milestones: 6.1.x, 6.1.0 Dec 9, 2024
@gittools-bot
Copy link
Contributor

🎉 This issue has been resolved in version 6.1.0 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants